Skip to main content

MessageAlert

Common component to show a message alert when saving or sending a secure message

NameTypeDefault ValueRequiredDescription
focusOnErrorbooleanNoOptional boolean for determining when to focus on error alert boxes.
hasValidationErrorbooleanNosets if there is validation errors
saveDraftAttemptedbooleanNosets if attempted to save a draft
scrollViewRefRefObject<ScrollView>Nooptional ref for parent scroll view
errorList{ [key: number]: string; }Nooptional list of alertbox failed reasons, supplied by FormWrapper component
replyTriageErrorbooleanNosets if triage error returned from api